Private alias endpoints for isolated virtual networks

ABSTRACT

In accordance with a designation of a private alias endpoint as a routing target for traffic directed to a service from within an isolated virtual network of a provider network, a tunneling intermediary receives a baseline packet generated at a compute instance. The baseline packet indicates a public IP (Internet Protocol) address of the service as the destination, and a private IP address of the compute instance as the source. In accordance with a tunneling protocol, the tunneling intermediary generates an encapsulation packet comprising at least a portion of the baseline packet and a header indicating the isolated virtual network. The encapsulation packet is transmitted to a node of the service.

This application is a continuation of U.S. patent application Ser. No.14/491,758, filed Sep. 19, 2014, now U.S. Pat. No. 9,787,499, which ishereby incorporated by reference herein in its entirety.

BACKGROUND

Many companies and other organizations operate computer networks thatinterconnect numerous computing systems to support their operations,such as with the computing systems being co-located (e.g., as part of alocal network) or instead located in multiple distinct geographicallocations (e.g., connected via one or more private or publicintermediate networks). For example, data centers housing significantnumbers of interconnected computing systems have become commonplace,such as private data centers that are operated by and on behalf of asingle organization, and public data centers that are operated byentities as businesses to provide computing resources to customers.

A few providers allow their customers to create logically isolatednetworks using resources located at such data centers. For example, acustomer may be assigned some set of virtualized servers and/or otherresources implemented at hosts managed by the provider, and the customermay be afforded substantial flexibility with respect to the networkingconfiguration of the resources. The customer may, for example, select IP(Internet Protocol) addresses to the servers, define subnets of theirchoice, and so on. Such customer-configurable networks implemented usingprovider resources may be referred to by a variety of names, including“isolated virtual networks” or “virtual private clouds”. In somescenarios, customers may assign private IP addresses (i.e., addressesthat are not visible or advertised outside the isolated virtualnetworks) to some resources within an isolated virtual network, e.g.,without having to be concerned about the uniqueness of the addresseswith respect to resources outside the isolated virtual network. Theprovider may support high levels of security, network isolation, andavailability in such environments, enabling customers to runbusiness-critical applications in the isolated virtual networks andexperience a similar (or higher) quality of service to that achievableat customer-owned premises.

At least some providers that support isolated virtual networks may alsoimplement a variety of other services, such as storage services,database services, and the like. Some of these other services may bedesigned to be accessible from the public Internet—e.g., a set ofpublicly-advertised IP addresses or corresponding URIs (uniform resourceidentifiers) may be set up for clients to access resources of such aservice. At least in some environments, it may not be straightforwardfor customers that wish to access such publicly-advertised services fromwithin their highly secure isolated virtual networks to do so withouteither potentially reducing security or incurring substantial costs.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 illustrates an example system environment in which private aliasendpoints (PAEs) may be established to enable routing of network trafficbetween isolated virtual networks (IVNs) of a provider network and oneor more publicly-accessible services without assigning public IPaddresses at the IVNs and without traversing customer networks,according to at least some embodiments.

FIG. 2 illustrates example components involved in directing a packetoriginating at a compute instance of an isolated virtual network towardsa destination at a publicly-accessible service, according to at leastsome embodiments.

FIGS. 3a and 3b illustrate respective examples of alternativeservice-side components that may process packets originating at acompute instance of an isolated virtual network, according to at leastsome embodiments.

FIG. 4 illustrates examples of encapsulation formats for a baselinepacket originating at a compute instance, according to at least someembodiments.

FIG. 5 illustrates examples of PAE configuration requests and responses,according to at least some embodiments.

FIG. 6 illustrates examples of PAE configuration database contents,according to at least some embodiments.

FIG. 7 illustrates an example of a use of IVN and PAE identifiers todistinguish between requests received at a service from computeinstances with the same private IP addresses, according to at least someembodiments.

FIG. 8 is a flow diagram illustrating aspects of operations that may beperformed to configure PAEs, according to at least some embodiments.

FIG. 9 is a flow diagram illustrating the use of a tunneling protocolfor transmitting packets from a compute instance to apublicly-accessible service, according to at least some embodiments.

FIG. 10 is a block diagram illustrating an example computing device thatmay be used in at least some embodiments.

While embodiments are described herein by way of example for severalembodiments and illustrative drawings, those skilled in the art willrecognize that embodiments are not limited to the embodiments ordrawings described. It should be understood, that the drawings anddetailed description thereto are not intended to limit embodiments tothe particular form disclosed, but on the contrary, the intention is tocover all modifications, equivalents and alternatives falling within thespirit and scope as defined by the appended claims. The headings usedherein are for organizational purposes only and are not meant to be usedto limit the scope of the description or the claims. As used throughoutthis application, the word “may” is used in a permissive sense (i.e.,meaning having the potential to), rather than the mandatory sense (i.e.,meaning must). Similarly, the words “include,” “including,” and“includes” mean including, but not limited to.

DETAILED DESCRIPTION

Various embodiments of methods and apparatus for supporting privatealias endpoints (PAEs) at a provider network are described. Networks setup by an entity such as a company or a public sector organization toprovide one or more services (such as various types of multi-tenantand/or single-tenant cloud-based computing or storage services)accessible via the Internet and/or other networks to a distributed setof clients may be termed provider networks herein. At least someprovider networks may also be referred to as “public cloud”environments. A given provider network may include numerous data centershosting various resource pools, such as collections of physical and/orvirtualized computer servers, storage devices, networking equipment andthe like, needed to implement, configure and distribute theinfrastructure and services offered by the provider. In at least someembodiments, a virtual computing service implemented at a providernetwork may enable clients to utilize one or more guest virtual machines(which may be referred to herein as “compute instances” or simply as“instances”) for their applications, with one or more compute instancesbeing executed on an instance host of a large fleet of instance hosts.Within large provider networks, some data centers may be located indifferent cities, states or countries than others, and in someembodiments the resources allocated to a given application may bedistributed among several such locations to achieve desired levels ofavailability, fault-resilience and performance.

In at least some embodiments, a provider network may enable customers torequest the establishment of “isolated virtual networks” (IVNs) at theprovider's data centers. An IVN (which may also be referred to in someenvironments as a “virtual private cloud” or VPC) may comprise acollection of computing and/or other resources in a logically isolatedsection of the provider network, over which the customer is grantedsubstantial control with respect to networking configuration. In someembodiments, for example, a customer may select the IP (InternetProtocol) address ranges to be used for the IVN resources such asvarious compute instances, manage the creation of subnets within theIVN, and the configuration of route tables etc. for the IVN. For atleast some of the devices within an IVN in some embodiments, the IPaddresses may not be visible outside the IVN, at least by default. SuchIP addresses may be referred to herein as “private” IP addresses, incontrast to “public” IP addresses that are accessible from the publicInternet as a result of being directly or indirectly advertised on thepublic Internet via BGP (the Border Gateway Protocol) or other similarprotocols. The use of private addresses may enable clients to protecttheir applications from potential attacks originating from the Internet,for example. IVN support may be one of the features of a more generalvirtual computing service (VCS) of a provider network in someembodiments. For example, the VCS may also support reservation orallocation of compute instances that are not part of an IVN, and forwhich the VCS (rather than the client to whom the instances areallocated) performs much or all of the networking configurationrequired.

At least some of the services implemented in a provider network, such asone or more storage services or database services, may be publiclyaccessible. That is, some set of IP addresses (or correspondinghostnames/URIs) that can be used to access a service may be publiclyadvertised, and a client may therefore be able to submit servicerequests to such a service from a device that has connectivity to theInternet. For example, a storage service named “SvcX” may be accessibleby a client via a publicly advertised URI such ashttps://SvcX.<providername>.com, and the IP address for such a servicemay be obtained from one or more Domain Name Service (DNS) servers.

Some applications that are run within an IVN on behalf of a client mayrequire access to such publicly-accessible services. For example, ane-commerce application running on a client's compute instance in an IVNmay need to read or write data to publicly-accessible storage service ofthe provider network. One way to establish connectivity to apublicly-accessible service may involve assigning one or more public IPaddresses to resources within the IVN (and/or setting up anInternet-accessible gateway for the IVN), which may be a practicesomewhat counter to the isolation and security requirements of the IVNclient. Another way to establish connectivity between compute instancesrunning in the IVN and resources of a publicly-accessible service may beto first establish a VPN (virtual private network) connection betweenthe IVN and a customer network, and then send traffic indirectly fromthe IVN to the publicly-accessible service via the customer network. Atleast in some environments, however, such VPN-based connectivity may befairly expensive, and the indirect paths used for the traffic may notnecessarily be fast enough (e.g., with respect to end-to-end latency) tomeet client application requirements.

Accordingly, in order to facilitate efficient connectivity between IVNresources and at least some publicly-accessible services, in someembodiments a provider network operator may support the establishment ofprivate alias endpoints for IVNs. As the name implies, a PAE may serveas a “virtual” endpoint representing a publicly-accessible service, andthe PAE may be “private” in that its use does not require an assignmentof a public network address to any entity within the IVN. PAEs may alsobe referred to as “virtual private endpoints” in some environments. Inat least some embodiments, a PAE may enable an application runningwithin an IVN set up on behalf of a client to send service requests to(and receive responses from) publicly-accessible services implementedelsewhere within the provider network, e.g., without having to exposethe IVN to the public Internet and without traversing network linksoutside the provider network. A tunneling protocol may be used asdescribed below to encapsulate packets of traffic originating at the IVNfor transmission to the portion of the provider network in which thepublicly-accessible service is implemented. Neither the clientapplications running in the IVN, nor the resources of thepublicly-accessible service that implement client service requests, neednecessarily even be made aware of the use of the tunneling protocol invarious embodiments. That is, in such embodiments, no changes may berequired to client applications or to the logic involved in servingclient requests at service resources.

In at least one embodiment, the establishment of a PAE may involve theclient performing a few additional steps of IVN configuration, verysimilar in ease-of-use to the kinds of steps that are typically requiredfor other aspects of IVN networking configuration performed by theclient. The client may, for example, request the creation of a PAE foran IVN via a programmatic management/administration interface (e.g., aconsole or an application programming interface (API)), and thenassociate the PAE with a selected service identified by a user-friendlyservice name. The client may then specify the PAE, e.g., in a routetable set up for one or more subnets of an IVN, as a target for trafficwhose destination is any node or resource of the publicly-accessibleservice in some embodiments. In some implementations, a generic alias(such as a service name “Svc1”) may be used to indicate the service asthe destination in the route table, and an identifier assigned to thePAE may be indicated as the target. In such implementations, the clientmay not have to identify any IP addresses for the service whenspecifying the destination. In at least some embodiments, a client mayset up several different PAEs at a given IVN, e.g., to enable access toa number of different services implemented outside the IVN.

After a PAE has been configured and indicated as the target for trafficintended for a service from a particular IVN, a client applicationrunning on a compute instance of the IVN (where the compute instance hasbeen assigned a private IP address and no public IP address) may issuerequests to the service analogously to the way that such requests wouldbe issued from an Internet-connected device. For example, a DNS requestmay be issued from the compute instance (e.g., to a DNS server of theprovider network) to obtain a public IP address of the service. Theapplication may submit a service request using a web service API (or anysimilar programmatic interface supported by the service), which may beconverted by the operating system or other components of the computeinstance into one or more baseline packets with the service's public IPaddress as the destination and the instance's private IP address as thesource.

As mentioned earlier, a compute instance may be implemented as a guestvirtual machine running on an instance host. In at least someembodiments, the instance host may include various components of avirtualization management software stack, such as a hypervisor and/or aprivileged operating system instance (often termed a “dom-0” or domainzero instance). Such a virtualization management component (which may bereferred to herein as a VMC) may be responsible for translating resourcerequests issued at the guest virtual machines into physical operationsperformed at hardware resources. In one embodiment, a VMC running at theinstance host may intercept a baseline packet issued from the computeinstance, and the VMC may be responsible for determining how (or if) thebaseline packet should be transformed for transmission over a physicalnetwork to which the instanced host is attached. In someimplementations, the VMC may have access to IVN metadata recordsindicating the selection of the PAE as a target for traffic directed tothe service, and may also have access to a list of public IP addressesof the service. The VMC may therefore be able to determine that theintercepted baseline packet is to be transmitted to a service associatedwith a PAE.

In at least some embodiments, various services (including the virtualcomputing service at which the IVNs are configured, and the destinationservice assigned to the PAE) may be assigned to respective logicallydistinct portions of the provider network. Traffic between given pairsof the services may have to traverse a bridge network (which may also bereferred to as a border network) to reach a destination service from asource service. Such bridge networks may also be consideredspecial-purpose subsets of the provider network, just as the source anddestination service networks may be considered subsets of the providernetwork. As the name implies, bridge networks may serve as intermediarynetworks between various logically distinct portions of the providernetwork (and, in some cases, as intermediaries between the providernetwork and external networks). The VMC may not have direct access to abridge network that is to be traversed to reach the destination service,and may therefore require the use of an intermediary capable of routingpackets on to such a bridge network. In at least some embodiments,accordingly, the VMC may deliver the contents of the baseline packet toa tunneling intermediary, e.g., in a first encapsulated version of thepacket. This first encapsulation packet may then be transformed inaccordance with a selected tunneling protocol by the tunnelingintermediary, and a second encapsulation version of the packet may betransmitted via a bridge network path or tunnel to a node of thedestination service. Any of a variety of different encapsulationapproaches may be used for either phase of encapsulation in variousembodiments; some specific examples of encapsulation techniques aredescribed in further detail below.

In one embodiment, the header or headers added by the tunnelingintermediary may include encodings or representations of the source IVNand/or the PAE associated with the destination service. In oneimplementation, for example, the tunneling protocol may involve theencapsulation of IPv4 baseline packets within IPv6-compatible packetformats, in which some of the IPv6 address bits are used to encode IVNand/or PAE identifiers. At the destination service, the contents of thebaseline packet (including, for example, the service request, and theprivate IP address of the source compute instance) may be extracted fromthe encapsulated version, together with the identifiers of the IVNand/or the PAE. In some embodiments, the IVN or PAE identifier may beuseful in distinguishing between source compute instances (at differentIVNs) to which the same private IP addresses may have been assigned, asdescribed below in further detail. The requested operations indicated ina baseline packet body may be performed and a response may be returnedto the requesting application at the source instance host, e.g., usingsimilar types of tunneling and encapsulation techniques in the reversedirection.

Clients may be able to apply access control policies to PAEs in at leastsome embodiments, e.g., using the kinds of management programmaticinterfaces mentioned earlier. An access control policy may, for example,indicate the types of operations or service requests that are permitted(or prohibited), the objects (e.g., files or directories at astorage-related service) on which the operations arepermitted/prohibited, time periods (e.g., specific hours of the workday)for which the policy applies, principals (e.g., specific users orgroups) to whom the policy applies, and so on. In some embodiments inwhich such policies are assigned to PAEs, the requests extracted fromthe encapsulation packets at the service may be checked to ensure thatthey do not violate applicable policies. In other embodiments, potentialpolicy violations may be checked at the IVN side instead of, or inaddition to, being checked at the destination service—e.g., a VMC mayabort the transmission of a request if it determined that the requestviolates a policy associated with the PAE to be used.

In one embodiment, PAEs may be used not just for routing packets betweenIVNs and services implemented by the provider network, but also forrouting packets between IVNs and third party services that areimplemented elsewhere in the provider network. In such an embodiment, athird party (e.g., another customer of the provider network's virtualcomputing service) may set up a service using some set of providernetwork resources, and advertise public IP addresses at which theservice can be accessed. The third party provider may register theirservice for PAE access, e.g., by submitting a request to a configurationmanager of the provider network. The configuration manager may verifythat the candidate third party service is capable of supporting accessvia routes for which PAEs are indicated as targets. For example, theconfiguration manager may initiate the assignment of front-end nodesthat are capable of implementing the tunneling protocol (such asintelligent load balancers) to the third party service in someembodiments. In other embodiments, if the third party service operatorhas already set up nodes that are intended to implement the tunnelingprotocol, the capabilities of such nodes may be verified. After thethird party service has been registered, and front-end nodes that canextract (de-capsulate) and encapsulate packets in accordance with thetunneling protocol have been set up, clients may configure PAEs at theirIVNs to access the third party service. For example, a name or alias ofthe third party service (e.g., “ThirdPartySvc1”) may be added to a listof service destination options (e.g., “StorageSvc1”, “DBSvc1” etc.,representing publicly-accessible services that are already configuredfor PAE support) than can be associated with PAEs by clients usingprogrammatic interfaces.

Example System Environment

FIG. 1 illustrates an example system environment in which private aliasendpoints (PAEs) may be established to enable routing of network trafficbetween isolated virtual networks of a provider network and one or morepublicly-accessible services without assigning public IP addresses atthe IVNs and without traversing customer networks, according to at leastsome embodiments. As shown, system 100 comprises a provider network 102at which a plurality of services including a virtual computing service(VCS) and a publicly-accessible service Svc1 (i.e., a service thatenables its clients to submit requests via publicly-advertised IPaddresses or URIs) are implemented. Publicly-accessible service Svc1 maycomprise, for example, a storage service providing web-service-basedaccess to arbitrarily-sized storage objects, a non-relational databaseservice, a relational database service, a notification service, amessage queue service, or any of a variety of other types of services.Each of these services may comprise a plurality of hosts, storagedevices and other computing equipment that collectively form a logicallyseparate portion of provider network, e.g., with its own administrativeor control-plane layer. In FIG. 1, for example, the resources of the VCSare located within VCS network 104, while the resources of Svc1 arelocated within Svc1 network 170.

Within the VCS network 104, a number of different isolated virtualnetworks (IVNs) 110 such as IVN 110A and IVN 110B may be established onbehalf of various clients. The client on whose behalf a given IVN 110 isestablished may be granted substantial flexibility with respect to thenetworking configuration of the IVN—e.g., the client may assign desiredIP addresses to various compute instances 112 without having to ensurethat the IP addresses do not overlap with others in use outside the IVN,set up subnets, populate route tables, and so on. As shown, each IVN mayinclude a plurality of instance hosts (IH) 130, such as IH 130A and 130Bin IVN 110A, and IH 130M and 130N in IVM 110B. One or more computeinstances (CIs) 112 may be instantiated at each IH 130, such as CI 112Aat IH 130A, CI 112B at IH 130B, CI 112K at IH 130M, and CI 112L at IH130N. Each of the compute instances may be used for one or more clientapplications or application subcomponents.

In the embodiment shown in FIG. 1, service Svc1 comprises at least twolayers of resources: front-end (FE) nodes 171 (such as load balancersand/or request routers) that are configured to receive incoming servicerequests and transmit outbound service responses, and back-end (BE)nodes 173 at which the service's logic for fulfilling the servicerequests is implemented. At least some of the FE nodes, such as FE nodes171A, 171B, and 171C may have public IP addresses assigned to them, thusmaking Svc1 publicly accessible, e.g., to devices of the public Internet139 and to Internet-connected devices at customer-owned networks such asnetwork 185.

In the depicted embodiment, a private alias endpoint (PAE) 150 has beenestablished at IVN 110A, e.g., to enable Svc1-related packets to flowbetween CI 110A (which has a private IP address that is not directlyaccessible from the public Internet) and the Svc1 network 170, withoutrequiring CI 110A to have a public IP address assigned to it, andwithout requiring the traffic to pass through a customer-owned network185 or links of the public Internet 139. As described below in furtherdetail, a route table entry for IVN 110A may be set up in someembodiments to indicate that traffic originating at one or more subnetsof IVN 110A (including the subnet in which CI 110A is configured) anddestined for Svc1 should be targeted to PAE 150. This route table entry,as well as other metadata such as a list of Svc1's public IP addresses,may be available to a virtualization management component (VMC) (e.g., ahypervisor component) running on each of the instance hosts 130 of IVN110A in at least some embodiments. IVN configuration manager 106 mayimplement one or more programmatic interfaces (such as applicationprogramming interfaces (APIs), web-based consoles, command line tools,or graphical user interfaces and the like) enabling clients to requestthe creation of PAEs, the association of specific services with PAEs,the creation or modification of route table entries for an IVN, and soon.

The VMC at instance host 130A may intercept an outbound baseline networkpacket generated at a CI 112A and containing a service request directedto Svc1. (It is noted that some service requests and their associatedrequest parameters may require more than one packet. To simplify thepresentation, a service request is assumed to fit in a baseline packetin the following discussion. The tunneling technique described hereinfor such service requests may also be used for service requests thatcross packet boundaries in various embodiments.) The service request maybe formatted in accordance with any appropriate interface supported bySvc1, such as HTTP (HyperText Transfer Protocol), HTTPs (secure HTTP),XML (Extensible Markup Language), or the like. The baseline packet mayindicate the private IP address of the CI as the source and a public IPaddress of Svc1 as the destination. The VMC may generate a firstencapsulation packet from the baseline packet in accordance with a firstencapsulation protocol in the depicted embodiment. Within the firstencapsulation packet, in some implementations the baseline packet may beincluded in the body, while one or more additional headers of the firstencapsulation protocol may comprise (among other information) anindication that the packet contains PAE traffic. The first encapsulationpacket may be transmitted, as indicated by the dashed arrow for PAEtraffic 162, from the instance host 112A to a tunneling intermediary(TI) such as TI 142A of a fleet of tunneling intermediaries 140 in thedepicted embodiment. The TI fleet 140 (which may comprise a plurality ofcomputing devices set up as TIs, such as TI 142A, 142B, and so on) mayhave been established to allow traffic to flow between the VCS network104 and a variety of other logically separated networks of the providernetwork, including Svc1's network 170. Tunneling intermediaries maycomprise special-purpose computing devices optimized for network-relatedprocessing in some embodiments. In other embodiments, a tunnelingintermediary may comprise a process or thread of execution at ageneral-purpose computing device.

In at least some embodiments, upon receiving the first encapsulationpacket, TI 142A may extract the contents of the baseline packet as wellas the headers added by the VMC. In one embodiment, the TI 142A mayutilize a mapping database associated with a particular tunnelingprotocol to generate different source and destination addresses from thebaseline packet's source and destination addresses respectively. Forexample, in one implementation, the baseline packets source anddestination IP addresses may be formatted according to IPv4 (version 4of the Internet Protocol), and the TI 142A may replace them with longer,IPv6 (Internet Protocol version 6) addresses for a second encapsulationpacket to be sent to the Svc1 network 170 via an internal bridge network160. The internal bridge network 160 may be used as a path forcross-service traffic in the provider network, e.g., for traffic that isdestined for publicly-accessible services from the virtual computingservice. In some embodiments the internal bridge network 160 may bereferred to as a border network and may also be used for traffic flowingbetween the public Internet and the virtual computing service.

In one implementation, at TI 142A, the baseline packet's source IPaddress may be used as a key in the mapping database to look up thecorresponding source address to be used in the outbound secondencapsulation packet. Similarly, the baseline packet's destination IPaddress may be used as a key in the mapping database to look up thecorresponding destination address to be used in the outbound secondencapsulation packet in such an implementation. In at least someembodiments, using a larger number of bits for the source anddestination addresses for the second encapsulation packet may enable theTI 142A to include an encoding of the identifier of the source IVN(e.g., IVN 110A in the case of packets originating at CI 112A) and/orthe identifier of the PAE (e.g., PAE 150) in the second encapsulationpacket. In some embodiments, the identifier of the PAE and/or the IVNmay be included in the headers added by the VMC in the firstencapsulation packet, and the TI 142 may obtain the identifiers fromsuch headers. In other embodiments, the source and destination addressesobtained from to the mapping database may comprise the encodedidentifiers of the IVN and/or the PAE.

The second encapsulation packet, generated at TI 142A, may betransmitted via the bridge network 160 to a front-end node 171 (e.g.,171A) of the destination service Svc1. The front-end node 171 may beable to perform de-capsulation in accordance with the tunneling protocolto extract contents of the baseline packet (including the source CIprivate IP address), as well as the identifier of the source IVN (e.g.,IVN 110A) and/or the identifier of the PAE (e.g., PAE 150) used forrouting. In at least some embodiments, the identification of the PAEand/or the source IVN may enable Svc1 nodes to distinguish betweenservice requests from different compute instances with the same sourceprivate IP address, as described below in further detail. The servicerequest indicated in the baseline packet may be passed on to a back-endnode 173 (e.g., 173A) for processing. After the request has beenprocessed, a baseline response packet may be generated at the back-endnode, encapsulated in accordance with the tunneling protocol, andtransmitted in the reverse direction back towards the source of therequest (CI 112A). A TI 142 (e.g., either TI 142A or a different TI) mayreceive the encapsulated response via the internal bridge network 160,generate a modified encapsulation version using the first encapsulationprotocol, and transmit it to the VMC at IH 130A. The VMC may extract thebaseline response packet and provide it to the source CI 112A.

It is noted that while two different encapsulation protocols have beendiscussed above, in some embodiments only a single encapsulationprotocol may be required or used to facilitate traffic between computeinstances and publicly accessible services. For example, in one suchembodiment, VMCs may be capable of implementing the tunneling protocolthat is used for traffic over the internal bridge network, and thus theVMCs themselves may act as tunneling intermediaries. In such anembodiment, a VMC may intercept packets with the publicly-accessibleservice associated with a PAE 150 as the destination, generate anencapsulated packet that contains an encoding of the source IVN and/orthe PAE, and transmit the encapsulated packet on to a bridge networkdevice.

By using a PAE as a target in a route table entry for traffic directedtowards Svc1, the client may be able to avoid two other approachestowards routing traffic between IVNs and Svc1, both of which are alsoillustrated in FIG. 1. In one approach, a client on whose behalf IVN110B is set up may decide to establish an Internet gateway 182 for theirIVN and/or to assign a public IP address (which can be accessed from thepublic Internet) to one of their instances such as CI 112K. In such ascenario, baseline packets containing Svc1 requests generated at CI 112Kmay be transmitted to Svc1 nodes (e.g., FE node 171B) without using thekind of tunneling protocol described above, e.g., via a path similar topath 163 indicated for Internet gateway (IGW) traffic. In some cases,the path used for traffic originating at a public IP address maycomprise links 139 of the public Internet. One potential advantage ofusing the PAE approach over using the Internet gateway approach is thatIVN 110B may be more vulnerable (by virtue of exposing public IPaddresses) to attacks from the public Internet than IVN 110A (to whichno public IP addresses have to be assigned).

In a second alternative to the use of PAEs, a client may establish a VPN(Virtual Private Network) gateway 183 to provide secure connectivitybetween an IVN 110B and a customer-owned network 185. Packets that aredirected to Svc1 from an instance such as CI 112L may first be sent tothe customer-owned network 185, and then sent (e.g., via public Internetlinks 139) to Svc1 nodes (such as FE node 171C). It is noted that an IVNsuch as 110B that has a VPN gateway 185 established need not utilizepublic IP addresses and need not have an Internet gateway 182 set up,and a client that uses only a VPN gateway may thereby avoid the securityvulnerabilities mentioned above. However, in many cases, using a VPNconnection to an external network for traffic that originates within theprovider network (e.g., at an instance within an IVN) and is targeted toa destination within the provider network (e.g., a Svc1 node) may beinefficient in several ways. For example, in at least some embodiments,in comparison with the PAE approach, higher latencies may beencountered, lower throughput may be sustainable, and/or higher billingcosts may result if the VPN approach is used. Although three separate FEnodes 171A, 171B and 171C are shown in FIG. 1, correspondingrespectively to the three alternative routing approaches (i.e., routingusing PAEs, routing using public IP addresses as source IP addresses,and routing using VPNs) discussed above, in at least some embodimentsany given FE node may be able to handle traffic transmitted using any ofthe alternatives. Thus, the illustration of three FE nodes is not meantto imply that respective sets of FE nodes are required for the differentconnectivity alternatives.

In one embodiment, the virtual computing service may provide a serviceconnectivity library (SCL) exposing a set of APIs that can be invoked toaccess publicly-accessible services using PAEs from applications runningon the compute instances of an IVN. In such a scenario, an applicationmay issue an API call indicating a target service Svc1, where thecontents of a service request are indicated by parameters of the APIcall. The SCL may determine that the application intends to submit theservice request to Svc1, and may initiate the implementation of theappropriate encapsulation necessary to transmit the service request toSvc1. Thus, instead of using the traditional approach in which theapplication initiates the generation of a baseline packet, the work ofcreating packets from service requests may be handled by the SCL. Insome such embodiments, the application need not even obtain a particularpublic IP address of the target service; for example, the destination ofthe service request may be indicated by a service name rather than by aspecific network address. In one embodiment, even if the applicationindicates a particular target public address of the service in the APIcall, the SCL may transmit an encapsulated version of the servicerequest to a different public or private IP address of the targetservice (as long as the actual destination selected by the SCL iscapable of responding appropriately to the service request).

Packet Flow Examples

FIG. 2 illustrates example components involved in directing a packetoriginating at a compute instance of an isolated virtual network towardsa destination at a publicly-accessible service, according to at leastsome embodiments. As shown, instance host 230 of IVN 210 may comprise aplurality of compute instances 112, such as instances 112A and 112B.Each instance 112 may comprise a respective operating system instancerunning on a guest virtual machine. One or more components of clientapplications may be run at each compute instance, such as applicationprocess 220A at compute instance 112A and application process 220B atcompute instance 112B. Interactions between the compute instances andthe hardware components of the instance hosts (such as network interfacecards or NICs that are used for network traffic) may be managed by oneor more virtualization management components (VMCs) such as VMC 240. AVMC may, for example, include a hypervisor and/or a privileged operatingsystem instance (which may sometimes be referred to as a domain zero ordom0 operating system instance).

At least some of the applications may require access to (e.g., maysubmit service requests to, and may receive service responses from) oneor more services implemented outside the IVN in the depicted embodiment.For example, application process 220B may require access to apublicly-accessible service Svc1. Accordingly, as indicated by the arrowlabeled “1” in FIG. 2, a DNS query 204 may be submitted from the computeinstance to a DNS server 252 (e.g., a DNS server accessible from withinthe virtual computing service network in which IVN 210 is implemented)requesting an IP address of Svc1. The DNS server 252 may provide apublic IP address 205 exposed or advertised by Svc1, as indicated by thearrow labeled “2”. In at least some embodiments, a DNS lookup may onlyhave to be performed if the application has not interacted with Svc1 insome time. That is, once the address of Svc1 has been obtained, it maybe used for a long period by the instance 112B (e.g., for as long as theaddress remains valid) without further interaction with the DNS server252.

A service request directed to Svc1 may be included in the body of abaseline packet 250 generated at instance 112B in the depictedembodiment and sent to the networking stack of the compute instance forpropagation towards Svc1. The baseline packet 250 may indicate theprivate IP address of instance 112B as its source address, and thepublic IP address of Svc1 as the destination. As with other networkpackets, the baseline packet may be intercepted by VMC 240 (which may beresponsible for physical network transmissions), as indicated by thearrow labeled “3”.

VMC 240 may have access to PAE-related metadata and other IVN metadatain the depicted embodiment, such as route table 235 and a list 236 ofSvc1 public IP addresses. The route table 235 may include entriesindicating the targets that should be used for routing packets intendedfor various destinations—e.g., for packets with destination addresses inthe range N1.N2.N3.*, the target K.L.M.N should be used. A route tablefor packets intended for any node of Svc1 has been created in theexample shown in FIG. 2, with a private alias endpoint PAE-1 indicatedas the target. Based on an analysis of the destination indicated inbaseline packet 250 and the PAE-related metadata available to it, VMC240 may generate a first encapsulation packet 251 in the depictedembodiment. The body of packet 251 may incorporate the contents ofbaseline packet 250 (including its source and destination information),while additional headers 260 may be generated by VMC 240 in accordancewith a first encapsulation protocol P1 that is used for communicationbetween VMCs and tunneling intermediaries 242. Encapsulated packet 251may be sent to a particular tunneling intermediary 242 from the VMC 240,as indicated by the arrow labeled “4”. In at least some embodiments, theP1 headers 260 may include an indication that the baseline packet isassociated with PAE1 and/or originated at IVN 210. It is noted that thepath between the VMC 240 and the tunneling intermediary 242 may itselfcomprise several hops, e.g., with targets for the various hops beingselected based on route table entries not shown in FIG. 2.

The tunneling intermediary 242 may examine the P1 headers 260 and/or thesource/destination headers of the baseline packet 250 contained inencapsulated packet 251. Using a mapping database 262 of a secondencapsulation protocol P2 (also referred to herein as a tunnelingprotocol), the tunneling intermediary 242 may generate a secondencapsulation packet 255 comprising one or more P2 headers 261 and thebaseline packet 250. The source and destination addresses of thebaseline packet may be used as indexes into the mapping database 262 insome embodiments to identify the new source and packet headers to beused for packet 255. In some implementations, in accordance withprotocol P2, an IPv4 baseline packet 250 may be encapsulated within anIPv6-compatible packet 255, e.g., using SIIT (Stateless IP/ICMP(Internet Protocol/Internet Control Message Protocol)) Translation) or asimilar IPv4-IPv6 header translation mechanism. In other embodiments, aproprietary encapsulation protocol of the provider network may be usedto generate encapsulation packet 255. In some embodiments, instead ofusing IPv6, additional IPv4 headers such as TCP option headers may beused by the tunneling intermediaries, or UDP (User Datagram Protocol)encapsulation may be used (e.g., by incorporating baseline packetcontents within UDP messages). Examples of the kinds of information thatmay be included within P1 headers 260 and P2 headers 261 in someembodiments are provided in FIG. 4 and described below. Theencapsulation packet 255 may be transmitted from the tunnelingintermediary 242 to a device of the appropriate bridge network 160 thatis to be traversed to reach Svc2 nodes.

FIGS. 3a and 3b illustrate respective examples of service-sidecomponents that may process packets originating at a compute instance ofan isolated virtual network, according to at least some embodiments. Asmentioned earlier, in some embodiments at least two types of servicesmay support client access from IVNs for which PAEs have been configured.The first type of service may be implemented by the provider networkoperator, while the second type may comprise services implemented bythird parties such as customers of the provider network. For services ofthe first type, such as provider network-implemented service 376 shownin FIG. 3a , the front-end nodes 374 may be conversant with (i.e.,capable of implementing) the encapsulation protocol P2 used by thetunneling intermediaries 242. That is, upon receiving a packet 255formatted in accordance with protocol P2, a front-end node 374 ofservice 376 may be able to extract the baseline packet contents andgenerate a corresponding internal request 350 that can be sent to aback-end node 374 for processing. In some cases, the provider-networkimplemented service may support service requests formatted according toHTTP (Hypertext Transfer Protocol), for example, and the front-end nodemay add one or more X-Forwarded-For headers to the baseline request toindicate the identifiers of the source IVN at which the baseline packetwas generated and/or the PAE used for routing the baseline packet. Afterthe requested operations have been performed at the back-end nodes, aresponse may be transmitted back to the requesting compute instance,e.g., using similar encapsulation techniques in the response pathway.For example, the P2-conversant front-end nodes 374 of service 376 maygenerate a P2-compliant encapsulation packet comprising at least aportion of a baseline response and send it via bridge network 160 to atunneling intermediary 242, which may in turn generate a P1-compliantencapsulation packet and transmit it to the appropriate VMC 240. The VMC240 may extract the baseline response from the P1-compliant packet andprovide it to the source compute instance such as 112B.

In contrast to the nodes of services implemented by the provider networkoperator, at least some third party services (such as third partyservice 378 shown in FIG. 3b ) may not include nodes that are capable ofextracting baseline packets from the encapsulation packets 255 generatedin accordance with protocol P2. In some cases, for example, the detailsof P2 may not be available to the third party service operators, or suchoperators may not have the resources or expertise to build P2-compliantservice nodes. Accordingly, in at least some implementations, inresponse to requests to register such third party services for PAE-basedrouting or in response to post-registration requests, a configuration orcontrol-plane component of the provider network may establish one ormore service-side P2-conversant intermediaries 370. Such a service-sideintermediary 370 may extract the baseline packets 250 from theencapsulation packets 255, and transmit them to front-end nodes 375 of athird party service 378. The front-end node 375 may then translate thebaseline packets 250 into internal requests 352, which may be generatedin proprietary third party formats, HTTP, or in accordance with anyother interface expected by the back-end nodes 380 of the service 378.Operations corresponding to the internal requests 352 may then befulfilled at the back end nodes, and responses may be transmitted afterencapsulation at the intermediaries 370 in the reverse direction to thecompute instances at which the requests originated.

Encapsulation Formats

FIG. 4 illustrates examples of encapsulation formats for a baselinepacket originating at a compute instance, according to at least someembodiments. As shown, the baseline packet 402 may indicate source anddestination IP version 4 addresses in the depicted embodiment. Forexample, within an isolated virtual network, a private IP address“10.0.1.2” (not advertised outside the IVN) may have been assigned by aclient to a compute instance 112, and this private IP address may beindicated as the source address in the baseline packet 402. A public IPversion 4 address “176.32.101.25” may have been provided by a DNS serverin response to a DNS query for an address of a particularpublicly-accessible service Svc1 which is to be accessed from thecompute instance. This public address of the service may be indicated asthe destination of the baseline packet 402. TCP port numbers may also beindicated in the baseline packet, e.g., port 4321 as the source port atthe compute instance and port 80 as the destination service port. Apayload or body portion of the baseline packet 402 may indicate the typeof service request being transmitted, such as a read or a write requestdirected to a storage service, as well as the parameters of the servicerequest.

The baseline packet 402 may be encapsulated by a virtualizationmanagement component (e.g., VMC-x) at the instance's host in accordancewith a first encapsulation protocol P1 used for communications withtunneling intermediaries in the depicted embodiment. In theP1-compatible packet 404, the baseline packet may be included in thebody, and one or more P1 headers may be added. The identifier of the VMCmay be indicated as the source, and the tunneling intermediary fleet maybe indicated as the destination in some implementations. OtherP1-specific headers, e.g., identifying the source IVN at which thebaseline packet was generated and/or indicating the PAE that wasindicated in the route table entry specifying Svc1 as the destinationmay be included in some embodiments in packet 404. The P1-compatibleformat may use IP version 4 formats for various header fields in atleast some embodiments.

At a tunneling intermediary, P1-compatible packet 404 may be stripped ofits P1 headers in the depicted embodiment, and a different set ofheaders may be added in accordance with tunneling protocol P2 to be usedfor communication across the bridge network to the destination service.In the depicted embodiment, P2-compatible packet 406, generated by thetunneling intermediary, may include IPv6 source and destination fields.A 32-bit subset of the 128 bits available for a source address in IPv6may be used to indicate the private IPv4 address of the source computeinstance in some embodiments. Similarly, a 32-bit subset of the 128 bitsavailable for a destination address in IPv6 may be used to indicate theIPv4 public address of the destination service. For example, thelow-order bits of packet 406's source address are 0A00:0102, which is analternate representation of the source IPV4 address 10.0.1.2, and thelow-order bits of packet 406's destination address are B020:657D, whichis an alternate representation of the IPv4 destination address176.32.101.25.

In one implementation, as indicated in the address structure 408 shownin FIG. 4, the 128 address bits available in IPv6 may be used as followsin accordance with tunneling protocol P2. The lowest-order 32 bits (bits0 to 31) may be used for the source or destination IPv4 address, bits40-71 may be used to indicate the PAE identifier, and bits 80-127 may beused for a 48-bit IPv6 prefix allocated to a provider network locationor data center at which the source IVN or the destination service arebeing implemented. 24 bits (e.g., the higher-order 24 bits) of the 32bits set aside for the PAE identifier may indicate the source IVNidentifier in the depicted implementation. Thus, in at least someembodiments, the IVN identifier may be embedded within, and henceextractable from, the PAE identifier. Other encoding techniques forrepresenting the source IVN identifier, the PAE identifier, or both maybe used in different implementations. Some number of bits may bereserved for future use (RFU), such as bits 31-39 and bits 72-80, e.g.,to accommodate possible future increases in the number of bits requiredto uniquely identify PAEs. One advantage of structuring theP2-compatible encapsulation packet addresses as shown (e.g., with theleast-significant 32 bits used for encoding the IPv4 source/destinationaddresses) is that at least some load balancers may select the samedestinations when they receive such an IPv6-compatible packet as wouldbe selected if just the IPv4 portion of the 128 bits were indicated asthe destination. Other approaches may be used to partitionIPv6-compatible address structures in different embodiments, e.g., inwhich a different subset of the bits is used for indicating the IVNidentifier and/or the PAE identifier.

According to at least some embodiments, the tunneling protocol may beimplemented at the instance host at which the source compute instanceruns, e.g., without the need for a separate tunneling intermediaryfleet. In such embodiments, the two-step encapsulation illustrated inFIG. 4 may be combined into a single logical step implemented at the VMCand/or at a different service connectivity component running at theinstance host. The VMC and/or the service connectivity component may beconsidered the tunneling intermediary between the source computeinstance and the destination service in such embodiments.

PAE Configuration

FIG. 5 illustrates examples of PAE configuration requests and responses,according to at least some embodiments. As shown, a configurationmanager 592 of the provider network may implement one or moreprogrammatic interfaces 550, such as APIs, web-based consoles, customGUIs or command-line tools. Using such an interface, a client 502 maysubmit a “Create-PAE-In-IVN” request 505 to create a private aliasendpoint in a specified IVN, e.g., indicating the IVN identifier as aparameter in the request. In response, the configuration manager 592 maygenerate and store one or more entries for the requested PAE in itsconfiguration database, and provide the identifier of the newly createdPAE in response 507. In some embodiments, one or more PAEs may be set upautomatically for an IVN at the time that the IVN is established for aclient, and in such scenarios an explicit PAE creation request may notbe required.

Client 502 may submit an “Assign-Service-to-PAE” request 509 to theconfiguration manager 592 after a PAE is created, indicating theparticular service whose traffic is to be routed using the PAE. In someimplementations, the PAE identifier and a service identifier may besupplied as parameters in such a request. In response, the configurationmanager 592 may update its configuration metadata regarding the PAE andprovided an acknowledgement 511 of the service assignment. In someembodiments the programmatic interfaces 550 may provide a list ofregistered service names (e.g., in a drop-down menu) from which one canbe selected for association with a PA being configured.

Access control policies of various types may be assigned to a PAE insome embodiments, e.g., in response to an “Assign-Policy-to-PAE” request513 specifying the policy and the PAE. Examples of applicable policiesare shown in FIG. 6 and described below. The configuration manager 592may store a representation of the indicated policy and the associationof the policy with the PAE, and provide an acknowledgement 515 of theassociation to the client. In at least some embodiments, while theassociation of the policy may be requested for the PAE, the actualenforcement of the policy may be performed at one or more of (a) theservice assigned to the PAE (n) a different service, such as anauthorization and authentication service of the provider network, thatcan be invoked by the service assigned to the PAE to enforce the policyor (c) at the VMC of an instance host from which a service request isrouted in accordance with the PAE. In some embodiments, an indication ofthe policy may be transmitted by the configuration manager to a controlplane component of the service assigned to the PAE, e.g., before theacknowledgement 515 is provided to the client.

A client of the provider network may also submit a request 517 toregister a service for PAE-assisted routing in some embodiments. Forexample, a third party service (i.e., a service not directly managed bythe provider network operator) may be established using some set ofresources of the provider network, and the operator of such a thirdparty service may wish to enable access to the service from within IVNswithout requiring public IP addresses to be used by at the IVNs. In sucha scenario, a “Register-Service-For-PAE” request providing details ofthe service configuration (e.g., addresses of front-end nodes of theservice) may be submitted by the client 502. In at least someimplementations, a different configuration manager may be responsiblefor registering services than the configuration manager responsible forestablishing PAEs, and a different set of programmatic interfaces may beused for service registration requests. In response to a serviceregistration request, the configuration manager may perform one or morevalidation operations, e.g., to verify that the proposedto-be-registered service meets certain criteria for PAE compatibilitybefore accepting the service and providing the client with theregistered name or identifier of the registered service in response 519.In one implementation, for example, a front-end component of the servicemay be queried or tested to ensure that it can receive requestsgenerated by tunneling intermediaries that use an encapsulation protocolof the provider network.

In some embodiments, additional configuration requests types may besupported beyond those illustrated in FIG. 5. For example, requests toconfigure service-side tunneling intermediaries (such as P2-conversantintermediary 370 of FIG. 3b ) may be submitted by clients that have setup third party services in some embodiments. In one embodiment, clientsmay be able to re-assign PAEs to different services, or to assign morethan one service to a PAE using additional types of configurationrequests. In some implementations not all the types of configurationrequests shown in FIG. 5 may be supported. As mentioned earlier, aclient may establish multiple PAEs associated with a given IVN (e.g.,for accessing different services from within the same IVN), and clientsthat have multiple IVNs may set up one or more PAEs at each such IVN.

FIG. 6 illustrates examples of PAE configuration database contents,according to at least some embodiments. A configuration database for aparticular IVN (IVN-j) for which two PAEs have been established with thehelp of a configuration manager 592 is shown. PAE 604A is assignedservice “StorageSvc1” (a storage service implemented at the providernetwork), as indicated in service identifier field 606A, while PAE 604Ais assigned service “DBSvc1” (a database service implemented at theprovider network) as indicated in service identifier field 606B. PAE604A has access policy 608A assigned to it, while PAE 604B has twoaccess policies 608B and 608C.

Access policy 608A applies to StorageSvc1 traffic directed from or tocompute instances with IP addresses in the range CI-IP-address-range610A in the depicted example. In some embodiments, instead of using IPaddresses to indicate the traffic to which the policy is to apply,instance names or other identification data of compute instances may beused. A list of operation types for which requests are permitted fromthe address range 610A (e.g., reads versus writes) may be indicated inoperation-types-permitted field 612A of policy 608A, and the objects ofthe service StorageSvc1 (e.g., objects stored in a directory “/xyz”) towhich those operations can be directed are indicated in objects list614A. In the depicted example, time ranges for which the policy 608A isto be applied (e.g., specific hours of each work day, or specific daysof the week) may be indicated in applicable time range field 616A. Alist of principals (e.g., identifiers of users or groups) 618A may alsobe associated for policy 608A, indicating the entities whose servicerequests are to be governed by the rules indicated in policy 608A.

Each of access policies 608B and 608C to be enforced for PAE 604B mayindicate their respective CI-IP-address ranges 610, indicating thecompute instances to which the rules of the policy are to be applied. Insome policies such as 608B, the types of operations that are prohibitedmay be indicated (e.g., in operation-types-prohibited field 613), e.g.,instead of or in addition to the types of operations that are permitted.As indicated by the “*” in the objects list 614B, the operationsindicated in field 613 may be prohibited for all the objects of DBSvc1in the depicted example for the principals indicated in principals-list618B. As shown, not all the types of entries that can be included in apolicy need be specified for every policy − for example, policy 608Bdoes not include an applicable time range, while policy 608C does notinclude a principal list. Default values may be used for the types ofentries that are not included in a policy—e.g., the whole day may beassumed to be the applicable time range, and the policy rules may beapplied to all principals if no specific principals are listed. In thedepicted example, field 612B may indicate the operation types permittedon objects listed in field 614C during applicable time ranges 616C.

In some embodiments, if no specific access policies are specified by aclient for a given PAE, the provider network may apply some set ofdefaults to determine the rules to be applied to service requestssubmitted to the corresponding service. The defaults may differ fromservice to service in some implementations. As mentioned earlier, insome embodiments the services to which the PAEs have been assigned maybe responsible for enforcing the policies (either at the service's ownnodes, or by submitting a request to another service of the providernetwork, such as an identity and authorization management service). Theservice requests for some services may be encrypted in such a way thatit is only possible to determine the type of operation that is beingrequested after the request reaches the service, and as a result accesspolicies may have to be applied at the service end. In such cases, thepolicies may be communicated to the services (e.g., to control-plane oradministrative components of the services) by the configuration managersto which the policies are indicated by the clients (e.g., IVNconfiguration managers). In other embodiments, at least some of therules of a policy may be enforced at the requester end (e.g., the IVNend)—for example, it may be possible for a VMC to reject a write requestissued from a compute instance if the corresponding user is listed inthe principals list of an applicable policy and all writes areprohibited for the listed principals.

Distinguishing Among Requests from Re-used Private IP addresses

Clients may use the flexibility granted on IVN network configuration toassign private IP addresses of their choice to IVN compute instances insome embodiments as described above, e.g., without considering whetherthe same addresses are in use elsewhere (e.g., in other IVNs or in thepublic Internet). In some cases a client may assign the same IP addressto instances in different IVNs. For a number of reasons (such as foraccurate recording of the sources from which requests are received at aservice), it may be useful for a service to be able to distinguishbetween requests from different IVNs, even if the same source IPaddresses may be indicated in the requests.

FIG. 7 illustrates an example of a use of IVN and PAE identifiers todistinguish between requests received at a service from computeinstances with the same private IP addresses, according to at least someembodiments. As shown, respective IVNs 702A and 702B may be set up by aclient C1, with IVN 702A set up for use by an Engineering Department ofthe client's organization, and IVN 702B set up for use by a MarketingDepartment of the organization. Both organizations may need to accessobjects stored at the same publicly-accessible storage service“StorageSvc1” in the depicted example. PAE 750A may be established foraccessing StorageSvc1 from IVN 702A, and PAE 750B may be established foraccessing StorageSvc1 from IVN 702B.

Client C1 may (e.g., deliberately or by accident) assign the sameprivate IP address 10.4.5.6 to a compute instance 710A in IVN 702A, andto compute instance 710K in IVN 702B. Service requests directed toStorageSvc1 may be generated at both compute instances 710A and 710K. Inaccordance with an encapsulation protocol that may be implemented attunneling intermediaries of the provider network as described above, anencapsulation service request packet 774A indicating a request from IVN702A to read an object X of StorageSvc1 may be transmitted to afront-end node 771. The encapsulation packet 774A may indicate theprivate IP address 10.4.5.6 as the original source of the request, andmay also include encodings of the IVN identifier 702A and the PAE 750Aused for routing the request. Similarly, an encapsulation packet 774Bindicating a request to read an object Y of the service may be receivedat front-end node 771. Packet 774B may also indicate its sourceinstance's private IP address (10.4.5.6, identical to that indicated inpacket 774A), the source IVN (702B), and the PAE 750B used for routingits request in the depicted embodiment.

The front-end node 771 (and/or the back-end node 773 at which therequested work is performed) may be able to use the IVN and/or PAEidentification information included in the received packets todistinguish the source of the requests, even though the source IPaddresses indicated in the packets 774A and 774B are identical. Thus, alog record 733A may be generated (by either the FE node or the BE node)indicating the timestamp T1 at which the request to read X was receivedor processed, the private IP address 10.4.5.6 of the requesting computeinstance, the identifiers of IVN 702A and PAE 750A. A similar log record733B may be generated for the request to read Y, indicating thetimestamp T2 of receiving or processing, the source IP address 10.4.5.6,and the identifiers of IVN 702B and PAE 750B. In some embodiments, onlythe identifier of the IVN or the identifier PAE may be included in thelog records (or in the encapsulation packets), since either one may besufficient for disambiguating the source of the request.

It is noted in embodiments in which the tunneling intermediariesincorporate IVN or PAE identifiers within the source headers ofencapsulation packets 774 as described above, traffic from differentIVNs may be disambiguated even in scenarios where the service-side nodes(such as front-end nodes 771 and/or back-end nodes 773) may notnecessarily be capable of parsing the contents of the source headers.For example, if a third party service is registered to use PAE-basedrouting, and IPv6 is being used for encapsulation, the nodes of thethird party service may not be aware of which specific bits of an IPv6header are used for encoding the source IVN information or the sourcePAE information. However, since the IPv6 source header for a packet P1from IVN 702A would differ from the IPv6 source header for a packet P2from IVN 702B, the third party service nodes would at least be able todetermine that P1 and P2 are from different sources, even if detailsregarding IVN identifiers and/or PAE identifiers are not ascertained atthe third party service nodes. Of course, if the third party servicenode is responsible for implementing access control policies similar tothose illustrated in FIG. 6, and the access control policies areassociated with specific IVNs or specific PAEs, the third party servicenode may have to obtain the IVN/PAE identifiers.

Methods For Private Alias Endpoints

FIG. 8 is a flow diagram illustrating aspects of operations that may beperformed to configure PAEs, according to at least some embodiments. Asshown in element 801, one or more isolated virtual networks may be setup on behalf of a client C1 at a provider network, e.g., using resourcesof a virtual computing service. Each IVN may include some set ofresources such as compute instances and the like for which internalnetworking configuration choices (such as subnet setup, IP addressassignment, and so on) can be made by the client. For example, theclient may assign private IP addresses (addresses that are notadvertised outside the IVN) to compute instances' virtual networkinterfaces without having to ensure that a given private IP address isunique with respect to resources outside the IVN. If the client wishesto use the same private IP address “a.b.c.d” at two different IVNs IVN1and IVN2, that address may be assigned to a compute instance CI1 in IVN1and a different compute instance CI1 in IVN2, for example. It is notedthat uniqueness for IP addresses may still be required within a givenIVN in at least some embodiments—e.g., the same IP address may not beassignable to two instances that are launched within the same IVN.

In the depicted embodiment, the virtual computing service may enableclients to submit service requests from IVN compute instances withprivate IP addresses to publicly-accessible services (e.g., storage ordatabase services implemented by the provider network operator, and/orthird party services implemented by other customers of the providernetwork) using private endpoint aliases (PAEs) associated with the IVNs.As shown in element 804, a metadata record representing a particular PAE(PAE1) established for IVN1 on behalf of C1 may be created and stored,e.g., by a configuration manager component of the virtual computingservice or the provider network. In at least some implementations, atthe time that PAE1 is created (e.g., in response to a programmaticrequest from C1), PAE1 need not be associated with or tied to anyparticular service. Within a route table associated with IVN1, PAE1 mayeventually be indicated as a route target for network trafficoriginating within IVN1 and directed towards a selected serviceimplemented elsewhere in the provider network (i.e., outside IVN1),e.g., after a separate configuration step in which the selected serviceis assigned to PAE1, as indicated in element 807.

In at least some embodiments, a number of services may have beenregistered for PAE support, e.g., after the provider network operatorhas set up and tested/verified the components (such as tunnelingintermediaries) that may be required for implementing the encapsulationprotocols used to transmit packets between instances with private IPaddresses at the IVN end, and service nodes with public IP addresses atthe service end. The public IP addresses of the services may also haveto be verified (and updated as needed) in some embodiments within aconfiguration database accessible to the tunneling intermediaries and/orvirtualization management components at the instance hosts of the IVN.In at least one embodiment, programmatic interfaces available to theclient C1 may enable the client to select services from among such aregistered set when assigning a service Svc1 to PAE1 (element 807)—thatis, clients may only be allowed to associate pre-approved services to aPAE set up for their IVN. In one implementation, the association betweena PAE such as PAE1 and a service such as Svc1 may be represented withinthe IVN configuration database by setting a value of a “service”attribute of the PAE.

One or more access policies may be associated with a given PAE such asPAE1 in some embodiments (element 810). The access policies may, forexample, indicate the types of operations or service requests that arepermitted or prohibited using PAE1, the object types to which access isgranted via PAE1, the principals (e.g., users or groups) to whom thepolicy rules apply, the time periods for which the policy rules apply,and so on. In some embodiments, the client C1 may indicate accesspolicies of their choice for PAE1, e.g., using a programmatic interface.A default access policy may be applied in some implementations to a PAEif the client does not indicate one. Policies may also be represented asattributes of PAEs in some implementations. In some embodiments in whichmultiple policies can be assigned to a given PAE, the configurationmanager may be responsible for detecting conflicts between differentpolicies. For example, one policy may allow a particular type ofoperation on a particular object, while another policy may prohibit thattype of operation. In some implementations, the configuration managermay request the client to prioritize among conflicting policies or toremove the conflicts. In other embodiments, the configuration managermay simply apply specified policies in some default priority order(e.g., with more recently-applied policies overriding older policies bydefault) and conflicts may be resolved accordingly.

A route table entry indicating PAE1 as a target for traffic whosedestination is Svc1 may be created and attached (e.g., by C1 via arequest submitted using a programmatic interface) to one or more subnetsof IVN1 in the depicted embodiment (element 813). Instead of specifyingparticular IP address ranges as the sources and destinations for theroute table entry, the registered name of the service may be indicatedas the destination, and the name or identifier assigned to PAE1 whenPAE1 was created may be indicated as the target, thus considerablysimplifying route management between IVN1 and Svc1 from the perspectiveof the client C1. After the route table entry has been attached, trafficflow between the instances of the subnet and Svc1 may begin.

In at least some embodiments, it may be the case that the set of publicIP addresses associated with the service (e.g., Svc1) assigned to one ormore PAEs (e.g., PAE1) may change over time. The control plane oradministrative components of registered services such as Svc1, and/orthe configuration manager of the virtual computing service, may beresponsible for propagating updates to the list of public IP addressesand/or other PAE-related configuration information to the componentswhere such addresses may be used in the depicted embodiment (element816). Such updates may be made, for example, to configuration databasesaccessible from tunneling intermediaries at which encapsulationprotocols of the kind described above are to be implemented, and/ordatabases accessible from virtualization management components of theIVN instance hosts.

FIG. 9 is a flow diagram illustrating the use of a tunneling protocolfor transmitting packets from a compute instance to apublicly-accessible service, according to at least some embodiments. Asshown in element 901, a public IP address “Addr1” for a service Svc1 tobe accessed may be determined (e.g., using a DNS query) at a computeinstance CI1 implemented at an IVN (IVN1) for which a PAE (PAE1) hasbeen established for traffic to/from Svc1. At the compute instance CI1,a baseline packet BP1 whose body indicates at least a portion of aservice request SR1 may be generated (element 904). CI1's private IPaddress may be indicated as the source address of BP1, and Addr1 may beindicated as the destination. BP1 may be transmitted from CI1 towardsAddr1, e.g., using a virtual network interface attached to CI1.

In the depicted embodiment, the baseline packet BP1 may be interceptedby a virtualization management component (VMC), such as a hypervisor ora privileged domain operating system, at the instance host where CI1runs (element 907). The VMC may, for example, serve as an intermediarybetween virtualized resources (such as the virtual network interface)and hardware components (such as a physical network interface card) ofthe instance host. The VMC may analyze BP1's destination address and/orone or more elements of PAE configuration information, such as a routetable entry indicating that traffic from CI1 to Svc1 should be targetedto PAE1. In at least one embodiment, the VMC may also or instead be ableto look up Addr1 in a list of public IP addresses of Svc1. Based on theexamination of the configuration information, the VMC may be able todetermine that a first encapsulation packet EP1, derived from BP1, is tobe sent towards a tunneling intermediary, e.g., for further transmissiontowards Addr1 via a bridge network (element 910). The tunnelingintermediary may, for example, be one node of a multi-node fleet thathas been set up for routing traffic between nodes of the virtualcomputing service (such as CI1) and nodes of publicly-accessibleservices (such as Svc1) via an internal bridge network. The firstencapsulation packet EP1 may be formatted in accordance with a firstencapsulation protocol P1 that is used for routing within variouscomponents of the virtual computing service in some embodiments. WithinEP1, BP1 (including BP 1's source and destination headers) may beincorporated within a body component, and one or more P1 headers may beadded by the VMC in some implementations. The added headers of EP1 mayindicate, for example, the VMC (or the instance host at which the VMCruns) as the source and the tunneling fleet (or a specific tunnelingintermediary) as the destination. In one implementation, an identifierof IVN1 and/or PAE1 may also be included in an EP1 header. In someembodiments, an EP1 header may not necessarily indicate PAE1'sidentifier, but may include a field that indicates that EP1 is a packetassociated with a PAE.

EP1 may eventually reach a tunneling intermediary in the depictedembodiment, e.g., after traversing one or more hops of the virtualcomputing service's network. At the tunneling intermediary, BP1 may beextracted and the contents of the EP1 headers may be examined. BP1'ssource and destination addresses (i.e., CI1's private IP address and theSvc1 address Addr1) may be used to look up corresponding source anddestination addresses in a mapping database of a tunneling protocol P2,which are to be specified in a second encapsulation packet EP2 (element913). In some embodiments, the baseline packet Bp1 (and/or EP1) may beformatted in accordance with IPv4, while the source and destinationaddresses to be used in the tunneling protocol may be formatted inaccordance with IPv6, e.g., using SIIT or a similar IPv4-IPv6translation protocol. In other embodiments, the tunneling protocol maybe proprietary, e.g., IPv6-style addresses need not necessarily be used.In some embodiments in which IPv6 addresses are not used for thetunneling protocol, encapsulation of baseline packets may be performedusing additional IPv4 headers such as TCP option headers. In at leastone embodiment, UDP (User Datagram Protocol) encapsulation may be used(e.g., by incorporating a baseline packet within a UDP message). The EP1headers may be removed and replaced by EP2 headers at the tunnelingintermediary in the depicted embodiment. As illustrated in FIG. 4, insome embodiments one or more EP2 headers may respectively indicate orencode (a) BP1 source and destination addresses (e.g., using 32 bits ofa 128-bit EP2 source address header to encode a 32-bit BP1 source IPaddress, and using 32 bits of a 128-bit EP2 destination address field toencode a 32-bit Bp1 destination IP address) and/or (b) identifiers ofthe source IVN (IVN1) and the PAE used for the routing (PAE1). In someimplementations, a PAE identifier that may be included in an IP2 headermay itself comprise an encoding of the corresponding IVN's identifier,and so the PAE identifier may be usable at the service to determine boththe IVN and the PAE from which a request has been received. In at leastone implementation, the BP1 destination address may be included withinthe EP2 source and destination headers respectively in such a way (e.g.,in the lowest 32 bits) that load balancers route a given packet to thesame service front-end node regardless of whether the BP1 destinationaddress is used or the EP2 destination address is used.

EP2 may be transmitted from the tunneling intermediary to a front-endnode of Svc1 (element 916), e.g., via a selected path of a bridgenetwork established within the provider network. In some embodiments,EP2 may reach Svc1 using only private network links managed and/or ownedby the provider network operator. In other embodiments, the path usedfor EP2 may include public network links (e.g., the packet may passthrough network devices outside the provider network, or managed/ownedby entities other than the provider network operator) At the front-endnode of Svc1, BP1 contents indicating the service request SR1 may beextracted (element 919). In addition, a unique identification of thesource instance CI1 may be possible at the service using the EP2headers, e.g., even if the same IP address is assigned to CI1 as isassigned to other instances of other IVNs. For example, the identifierof the source IVN and/or the PAE used for routing the contents of BP1,which may be extracted from an EP2 header or headers, may be used todisambiguate service requests from such instances in embodiments inwhich each IVN may include only a single instance with a particularprivate IP address. In at least some embodiments, the service requestSR1 may be validated at the service side in accordance with one oraccess control policies associated with the PAE. After accesspermissions are checked, the requested operations may be performed,e.g., at back-end nodes of the service Svc1. In at least someembodiments, a response may be generated to at least some types ofrequests, and the response may be transmitted in the reverse directiontowards CI1 using the same protocols in reverse order. For example, abaseline response whose content is generated at a back-end service nodemay be formatted according to the tunneling protocol P2 at a front-endnode of the service and transmitted across the bridge network to atunneling intermediary of the virtual computing service. At thetunneling intermediary, the response may be extracted, formatted inaccordance with the first encapsulation protocol P1, and passed on tothe VMC at the instance host where CI1 runs. The VMC may extract thebaseline response and provide it to CI1.

It is noted that in various embodiments, operations other than thoseillustrated in the flow diagram of FIGS. 8 and 9 may be used toimplement at least some of the techniques for supporting private aliasendpoints. Some of the operations shown may not be implemented in someembodiments, may be implemented in a different order or at a differentcomponent than illustrated in FIG. 8 or 9, or in parallel rather thansequentially. In at least one embodiment, the functionality describedfor the tunneling intermediary and the VMC may be combined, forexample—e.g., a tunneling protocol that allows packets to be transmittedto the service via a selected pathway without further encapsulation by aseparate intermediary may be implemented at a VMC. In anotherembodiment, baseline packets may be transmitted from a compute instanceor from a non-virtualized computing device to a tunneling intermediarywithout being encapsulated by a VMC.

Use Cases

The techniques described above, of establishing private alias endpointsto serve as routing targets for traffic directed from compute instancesof isolated virtual networks to publicly-accessible services, may beuseful in a variety of scenarios. As more and more distributedapplications are migrated to provider network environments, and thesophistication of network-based attackers increases, the need forsecuring and isolating client applications from network intrusionsoriginating in the public Internet is also increasing. Although isolatedvirtual networks enable clients to assign private IP addresses tocompute instances that are not advertised to or accessible from thepublic Internet, accessing services that expect requests to originate atpublic IP addresses from such instances may present problems. Privatealias endpoints may enable such service requests to be transmittedwithout requiring potential security compromises and withoutinefficient/expensive routing of the requests via VPN connections.

Illustrative Computer System

In at least some embodiments, a server that implements one or more ofthe components that are used to support private alias endpoints, such asconfiguration managers, VMCs, tunneling intermediaries, and nodes ofpublicly-accessible services, may include a general-purpose computersystem that includes or is configured to access one or morecomputer-accessible media. FIG. 10 illustrates such a general-purposecomputing device 9000. In the illustrated embodiment, computing device9000 includes one or more processors 9010 coupled to a system memory9020 (which may comprise both non-volatile and volatile memory modules)via an input/output (I/O) interface 9030. Computing device 9000 furtherincludes a network interface 9040 coupled to I/O interface 9030.

In various embodiments, computing device 9000 may be a uniprocessorsystem including one processor 9010, or a multiprocessor systemincluding several processors 9010 (e.g., two, four, eight, or anothersuitable number). Processors 9010 may be any suitable processors capableof executing instructions. For example, in various embodiments,processors 9010 may be general-purpose or embedded processorsimplementing any of a variety of instruction set architectures (ISAs),such as the x86, PowerPC, SPARC, or MIPS ISAs, or any other suitableISA. In multiprocessor systems, each of processors 9010 may commonly,but not necessarily, implement the same ISA. In some implementations,graphics processing units (GPUs) may be used instead of, or in additionto, conventional processors.

System memory 9020 may be configured to store instructions and dataaccessible by processor(s) 9010. In at least some embodiments, thesystem memory 9020 may comprise both volatile and non-volatile portions;in other embodiments, only volatile memory may be used. In variousembodiments, the volatile portion of system memory 9020 may beimplemented using any suitable memory technology, such as static randomaccess memory (SRAM), synchronous dynamic RAM or any other type ofmemory. For the non-volatile portion of system memory (which maycomprise one or more NVDIMMs, for example), in some embodimentsflash-based memory devices, including NAND-flash devices, may be used.In at least some embodiments, the non-volatile portion of the systemmemory may include a power source, such as a supercapacitor or otherpower storage device (e.g., a battery). In various embodiments,memristor based resistive random access memory (ReRAM),three-dimensional NAND technologies, Ferroelectric RAM, magnetoresistiveRAM (MRAM), or any of various types of phase change memory (PCM) may beused at least for the non-volatile portion of system memory. In theillustrated embodiment, program instructions and data implementing oneor more desired functions, such as those methods, techniques, and datadescribed above, are shown stored within system memory 9020 as code 9025and data 9026.

In one embodiment, I/O interface 9030 may be configured to coordinateI/O traffic between processor 9010, system memory 9020, and anyperipheral devices in the device, including network interface 9040 orother peripheral interfaces such as various types of persistent and/orvolatile storage devices. In some embodiments, I/O interface 9030 mayperform any necessary protocol, timing or other data transformations toconvert data signals from one component (e.g., system memory 9020) intoa format suitable for use by another component (e.g., processor 9010).In some embodiments, I/O interface 9030 may include support for devicesattached through various types of peripheral buses, such as a variant ofthe Peripheral Component Interconnect (PCI) bus standard or theUniversal Serial Bus (USB) standard, for example. In some embodiments,the function of I/O interface 9030 may be split into two or moreseparate components, such as a north bridge and a south bridge, forexample. Also, in some embodiments some or all of the functionality ofI/O interface 9030, such as an interface to system memory 9020, may beincorporated directly into processor 9010.

Network interface 9040 may be configured to allow data to be exchangedbetween computing device 9000 and other devices 9060 attached to anetwork or networks 9050, such as other computer systems or devices asillustrated in FIG. 1 through FIG. 9, for example. In variousembodiments, network interface 9040 may support communication via anysuitable wired or wireless general data networks, such as types ofEthernet network, for example. Additionally, network interface 9040 maysupport communication via telecommunications/telephony networks such asanalog voice networks or digital fiber communications networks, viastorage area networks such as Fibre Channel SANs, or via any othersuitable type of network and/or protocol.

In some embodiments, system memory 9020 may be one embodiment of acomputer-accessible medium configured to store program instructions anddata as described above for FIG. 1 through FIG. 9 for implementingembodiments of the corresponding methods and apparatus. However, inother embodiments, program instructions and/or data may be received,sent or stored upon different types of computer-accessible media.Generally speaking, a computer-accessible medium may includenon-transitory storage media or memory media such as magnetic or opticalmedia, e.g., disk or DVD/CD coupled to computing device 9000 via I/Ointerface 9030. A non-transitory computer-accessible storage medium mayalso include any volatile or non-volatile media such as RAM (e.g. SDRAM,DDR SDRAM, RDRAM, SRAM, etc.), ROM, etc., that may be included in someembodiments of computing device 9000 as system memory 9020 or anothertype of memory. Further, a computer-accessible medium may includetransmission media or signals such as electrical, electromagnetic, ordigital signals, conveyed via a communication medium such as a networkand/or a wireless link, such as may be implemented via network interface9040. Portions or all of multiple computing devices such as thatillustrated in FIG. 10 may be used to implement the describedfunctionality in various embodiments; for example, software componentsrunning on a variety of different devices and servers may collaborate toprovide the functionality. In some embodiments, portions of thedescribed functionality may be implemented using storage devices,network devices, or special-purpose computer systems, in addition to orinstead of being implemented using general-purpose computer systems. Theterm “computing device”, as used herein, refers to at least all thesetypes of devices, and is not limited to these types of devices.

CONCLUSION

Various embodiments may further include receiving, sending or storinginstructions and/or data implemented in accordance with the foregoingdescription upon a computer-accessible medium. Generally speaking, acomputer-accessible medium may include storage media or memory mediasuch as magnetic or optical media, e.g., disk or DVD/CD-ROM, volatile ornon-volatile media such as RAM (e.g. SDRAM, DDR, RDRAM, SRAM, etc.),ROM, etc., as well as transmission media or signals such as electrical,electromagnetic, or digital signals, conveyed via a communication mediumsuch as network and/or a wireless link.

The various methods as illustrated in the Figures and described hereinrepresent exemplary embodiments of methods. The methods may beimplemented in software, hardware, or a combination thereof. The orderof method may be changed, and various elements may be added, reordered,combined, omitted, modified, etc.

Various modifications and changes may be made as would be obvious to aperson skilled in the art having the benefit of this disclosure. It isintended to embrace all such modifications and changes and, accordingly,the above description to be regarded in an illustrative rather than arestrictive sense.

What is claimed is:
 1. A system, comprising: a configuration manager ofa provider network; a virtualization management component (VMC) of aninstance host, wherein a first compute instance of a first isolatedvirtual network (IVN) established on behalf of a client is instantiatedat the instance host, and wherein the first compute instance has aprivate network address selected by the client; and a tunnelingintermediary; wherein the configuration manager is configured to store afirst metadata entry representing a designation of a first private aliasendpoint (PAE) as a routing target for packets originating at the firstIVN and directed to a particular service, wherein the packets are to bedelivered to the particular service without indicating apublicly-advertised network address as a source address; wherein the VMCis configured to transmit to the tunneling intermediary, based at leastpart on an examination of the first metadata entry, a firstencapsulation packet derived from a baseline packet intercepted at theVMC, wherein the baseline packet is generated at the first computeinstance and directed to a publicly-advertised network address of theparticular service; and wherein the tunneling intermediary is configuredto: generate, in accordance with a tunneling protocol, a secondencapsulation packet from the first encapsulation packet, wherein thesecond encapsulation packet includes a header component indicating thefirst IVN as a source IVN; and transmit the second encapsulation packetto a first node of one or more nodes of the particular service, whereinthe first node is configured to (a) determine, from the secondencapsulation packet, an identifier of the first IVN and the privatenetwork address, and (b) initiate one or more operations to fulfill aservice request indicated in the baseline packet.
 2. The system asrecited in claim 1, wherein the second encapsulation packet is formattedin accordance with IPv6 (version 6 of the Internet Protocol), andwherein the baseline packet is formatted in accordance with IPv4(version 4 of the Internet Protocol).
 3. The system as recited in claim1, wherein the particular service supports a plurality of operationtypes on a plurality of objects, wherein one or more of (a) the firstnode of the particular service or (b) the VMC are configured to:initiate a determination, prior to an initiation of the one or moreoperations, of whether the service request is in compliance with a firstaccess control policy assigned to the first PAE, wherein the firstaccess control policy indicates, with respect to requests submittedusing the first PAE as a routing target, one or more of: (a) a permittedoperation type of the plurality of operation types, (b) a prohibitedoperation type of the plurality of operation types, (c) a time intervalduring which a particular operation type of the plurality of operationtypes is permitted, or (d) a particular object of the plurality ofobjects on which a particular operation type of the plurality ofoperation types is permitted.
 4. The system as recited in claim 1,wherein the configuration manager is further configured to: designate asecond PAE as a routing target for additional packets originating at thefirst IVN, wherein the additional packets is to be delivered to adifferent service.
 5. The system as recited in claim 1, wherein theconfiguration manager is further configured to: assign, at the requestof the client, the private network address to a second compute instanceestablished at a second IVN of the client; establish a second PAE to beused for routing traffic originating at the second IVN and directed tothe particular service; and wherein the first node of the service isconfigured to: determine, based on an examination of a particularencapsulation header generated by the tunneling intermediary, whether aparticular baseline packet extracted at the first node was generated atthe first compute instance or at the second compute instance.
 6. Amethod, comprising: determining, at a tunneling intermediary of aprovider network, that a first private alias endpoint (PAE) has beendesignated as a routing target for traffic originating at a firstisolated virtual network (IVN) established on behalf of a client,wherein the traffic is to be delivered to a particularpublicly-accessible service; receiving, at the tunneling intermediary abaseline packet directed from a first compute instance of the first IVNto a publicly-advertised network address of the particularpublicly-accessible service; and transmitting, by the tunnelingintermediary to a first node of the particular service, an encapsulationpacket comprising (a) contents of the baseline packet and (b) anindication of the first IVN as a source IVN.
 7. The method as recited inclaim 6, wherein the encapsulation packet is formatted in accordancewith IPv6 (version 6 of the Internet Protocol), and wherein the baselinepacket is formatted in accordance with IPv4 (version 4 of the InternetProtocol).
 8. The method as recited in claim 6, wherein the particularservice supports a plurality of operation types on a plurality ofobjects, further comprising: receiving, at a configuration manager ofthe first IVN from the client, a request to apply a first access controlpolicy to the first PAE, wherein the first access control policyindicates, with respect to requests submitted using the first PAE as arouting target, one or more of: (a) a permitted operation type of theplurality of operation types, (b) a prohibited operation type of theplurality of operation types, (c) a time interval during which aparticular operation type of the plurality of operation types ispermitted, or (d) a particular object of the plurality of objects onwhich a particular operation type of the plurality of operation types ispermitted; and verifying, prior to executing a first operation inaccordance with a particular request indicated in the baseline packet,that the first operation is permitted by the first access controlpolicy.
 9. The method as recited in claim 6, further comprising:designating a second PAE as a routing target for additional trafficoriginating at the first IVN, wherein the additional traffic is to bedelivered to a different service.
 10. The method as recited in claim 6,wherein the first compute instance has a particular private IP addressassigned to it at the request of the client, further comprising:establishing a second IVN on behalf of the client, wherein the secondIVN includes a second compute instance; assigning, at the request of theclient, the particular private IP address to the second computeinstance; establishing a second PAE to be used for routing trafficoriginating at the second IVN and directed to the particular service;determining, at a particular node of the particular service based onexamination of an encapsulation header generated by the tunnelingintermediary, whether a particular baseline packet received at theparticular node was generated at the first compute instance to which theparticular private IP address was assigned, or at the second computeinstance to which the particular private IP address was assigned. 11.The method as recited in claim 6, wherein the encapsulation packet isformatted in accordance with a proprietary tunneling protocolimplemented at the provider network.
 12. The method as recited in claim6, wherein the encapsulation packet comprises a header including arepresentation of an identifier of the first PAE.
 13. The method asrecited in claim 6, further comprising: receiving, at a configurationmanager of the provider network via a programmatic interface, a requestfrom the client to generate the first PAE; and storing, by theconfiguration manager in response to the request, a metadata entryrepresenting the first PAE.
 14. The method as recited in claim 6,further comprising: receiving, at a configuration manager of theprovider network via a programmatic interface, a request to register adifferent service for access using a PAE; and adding, by theconfiguration manager in response to the request, the different serviceto a collection of services from which a particular service can beselected by the client for association with a particular PAE.
 15. Themethod as recited in claim 14, wherein the different service isimplemented by a different client of the provider network using a set ofresources of the provider network, further comprising: establishing oneor more front-end nodes for the different service, including aparticular front-end node configured to extract contents ofencapsulation packets derived from baseline packets directed to thedifferent service.
 16. A non-transitory computer-accessible storagemedium storing program instructions that when executed on one or moreprocessors implements a tunneling intermediary of a provider network,wherein the tunneling intermediary is configured to: receive, inaccordance with a designation of a first private alias endpoint (PAE) asa routing target for traffic directed to a particular service from afirst isolated virtual network (IVN) established at the provider networkon behalf of a client, a baseline packet generated at a first computeinstance of the first IVN, wherein the baseline packet indicates apublic IP (Internet Protocol) address of the particular service as itsdestination address; generate, in accordance with a selected tunnelingprotocol, an encapsulation packet comprising (a) at least a portion ofcontents of the baseline packet and (b) a header component indicatingthe first IVN as a source IVN; and transmit the encapsulation packet toa first node of the particular service.
 17. The non-transitorycomputer-accessible storage medium as recited in claim 16, wherein theencapsulation packet is formatted in accordance with IPv6 (version 6 ofthe Internet Protocol), and wherein the baseline packet is formatted inaccordance with IPv4 (version 4 of the Internet Protocol).
 18. Thenon-transitory computer-accessible storage medium as recited in claim16, wherein the tunneling intermediary is further configured to:receive, in accordance with a designation of a second PAE as a routingtarget for traffic directed to a different service from a first IVN, arepresentation of a second baseline packet generated at a second computeinstance of the first IVN, wherein the second baseline packet indicatesa public IP address of the different service as its destination address;generate, in accordance with the selected tunneling protocol, a secondencapsulation packet comprising (a) at least a portion of contents ofthe second baseline packet and (b) a header component indicating thefirst IVN as a source IVN; and transmit the second encapsulation packetto a different node of the different service.
 19. The non-transitorycomputer-accessible storage medium as recited in claim 16, wherein thefirst encapsulation packet includes an indication of a private IPaddress of the first compute instance, wherein the tunnelingintermediary is further configured to: receive, in accordance with adesignation of a second PAE as a routing target for traffic directed tothe particular service from a second IVN established on behalf of theclient, a representation of a second baseline packet generated at asecond compute instance of the second IVN, wherein the second baselinepacket indicates the public IP address of the particular service as itsdestination address; generate, in accordance with the selected tunnelingprotocol, a second encapsulation packet comprising (a) at least aportion of contents of the second baseline packet (b) a header componentindicating the second IVN as a source IVN and (c) an indication of theprivate IP address; and transmit the second encapsulation packet to thefirst node of the particular service, wherein the first node of theparticular service is configured to determine, based on an examinationof the second encapsulation packet, whether the second baseline packetwas generated at the first compute instance or the second computeinstance.
 20. The non-transitory computer-accessible storage medium asrecited in claim 16, wherein the encapsulation packet comprises a headerincluding a representation of an identifier of the first PAE.